package com.university.mentalhealthplatform.teacherV2.repository;

import com.university.mentalhealthplatform.appModels.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.UUID;

@Repository
public interface StudentRepositoryV2 extends JpaRepository<Student, UUID> {
    List<Student> findByNameContainingOrNumberContaining(String name, String number);
}